package
{
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.events.Event;
	
	public class clothing extends Sprite
	{
		public function clothing()
		{
			addEventListener(Event.ADDED_TO_STAGE, onadd);
		}
		
		private function onadd($e:Event):void {
						stage.scaleMode = StageScaleMode.NO_SCALE;
						stage.align = StageAlign.TOP_LEFT;
						
			var s:Sprite = new Sprite();
			s.graphics.clear();
			s.graphics.beginFill(0xff0000);
			s.graphics.drawRect(0,0,1000,600);
			s.graphics.endFill();
			
			addChild(s);
		}
	}
}